package com.wxcms.service.impl;

import java.util.List;
 
import org.springframework.stereotype.Service;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import com.wxcms.domain.SystemAccount;
import com.wxcms.service.BaseService;
import com.wxcms.service.SystemAccountService;
import com.wxcms.mapper.SystemAccountDao;

 
@Service("SystemAccountService") 
public class SystemAccountServiceImpl implements BaseService , SystemAccountService{
 

	@Autowired
	private SystemAccountDao entityDao;
 
	@Override
	public List<SystemAccount> getAccounts(String id) {
		return entityDao.getAccounts(id);
	}
	public List<SystemAccount> getAccountsByUserid( String userid){
		return entityDao.getAccountsByUserid(userid);
		
	}

}

